﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace myomscl.Interfaces
{
    #region delegate
    public delegate void IPersonViewLoad();
    public delegate bool IPersonViewUpdate();
    #endregion

    public interface IPersonView : IView
    {
        #region properties
        Int32? Id { get; }
        String FirstName { set; get; }
        String LastName { set; get; }
        String Phone1 { set; get; }
        String Phone2 { set; get; }
        String Email { set; get; }
        String Login { set; get; }
        String Password { set; get; }
        Boolean Notifications { set; get; }
        Boolean Confirmations { set; get; }
        Int32? NetworkOperatorId { get; }
        String ExceptionField { get; set; }


        #endregion

        #region events
        event IPersonViewLoad OnPageLoad;
        event IPersonViewUpdate OnDataUpdate;
        #endregion
    }
}
